package com.seed.core.builder.pojo;

public class Column1 {
    private final Table1 table;
    private final String name;
    private String alias;

    public Column1(Table1 table, String name) {
        this.table = table;
        this.name = name;
    }

    public Column1(Table1 table, String name, String alias) {
        this(table, name);
        this.alias = alias;
    }

    public Table1 getTable() {
        return table;
    }

    public String getName() {
        return name;
    }

    public String getAlias() {
        return alias;
    }

    public void setAlias(String alias) {
        this.alias = alias;
    }
}
